package org.hxyjs.dao;


import org.hxyjs.entity.Press;
import org.hxyjs.entity.Press;
import org.hxyjs.entity.Press;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface PressDao {
    public List<Press>  getAllPresss() throws Exception;
    Integer deletePressByPrno(String prno) throws Exception;
    Integer updatePressByPrno(Press press) throws Exception;
    Integer addPress(Press press) throws Exception;
    public List<Press> getPressByPage(PageInfo pageInfo) throws Exception;
    Press selectPressWithSalesagentAndBooks(String prno) throws Exception;
    Press getAccountByAccountName(String prname);
}
